package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.demo.entity.Flower;
import com.example.demo.entity.User;

import java.util.List;

public interface FlowerService {
    Object selectByUsername(String flowernName);

    void insert(Flower flower);

    void updateById(Flower flower);

    void deleteById(Long id);

    Page<Flower> selectPage(Integer pageNum, Integer pageSize, String search);

    List<Flower> selectAll(Flower flower);

    List<Flower> selectUrl(Flower flower);

    Object selectGroupPage( String groupId);

    Object selectGroupPage1();

    Flower getFlowerId(String flowerId);

    List<Flower> findSearch(String search);
}
